﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class lpm_ListPrice1 : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } } private string _ID; public static FieldInfo iD = new FieldInfo("lpm_ListPrice1", "ID");
        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } } private string _Process; public static FieldInfo process = new FieldInfo("lpm_ListPrice1", "Process");
        [Column]
        public int Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } } private int _Incident; public static FieldInfo incident = new FieldInfo("lpm_ListPrice1", "Incident");
        [Column]
        public string UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } } private string _UserName; public static FieldInfo userName = new FieldInfo("lpm_ListPrice1", "UserName");
        [Column]
        public int No { get { return _No; } set { _No = value; EntityState.FieldChange("No"); } } private int _No; public static FieldInfo no = new FieldInfo("lpm_ListPrice1", "No");

        
        [Column]
        public string Subline { get { return _Subline; } set { _Subline = value; EntityState.FieldChange("Subline"); } } private string _Subline; public static FieldInfo subline = new FieldInfo("lpm_ListPrice1", "Subline");
        [Column]
        public string Price_Grp { get { return _Price_Grp; } set { _Price_Grp = value; EntityState.FieldChange("Price_Grp"); } } private string _Price_Grp; public static FieldInfo price_Grp = new FieldInfo("lpm_ListPrice1", "Price_Grp");
        [Column]
        public string County_Code { get { return _County_Code; } set { _County_Code = value; EntityState.FieldChange("County_Code"); } } private string _County_Code; public static FieldInfo county_Code = new FieldInfo("lpm_ListPrice1", "County_Code");
        [Column]
        public string Sales_Office { get { return _Sales_Office; } set { _Sales_Office = value; EntityState.FieldChange("Sales_Office"); } } private string _Sales_Office; public static FieldInfo sales_Office = new FieldInfo("lpm_ListPrice1", "Sales_Office");
        [Column]
        public string LPM_Region { get { return _LPM_Region; } set { _LPM_Region = value; EntityState.FieldChange("LPM_Region"); } } private string _LPM_Region; public static FieldInfo lPM_Region = new FieldInfo("lpm_ListPrice1", "LPM_Region");
        [Column]
        public string City_Code { get { return _City_Code; } set { _City_Code = value; EntityState.FieldChange("City_Code"); } } private string _City_Code; public static FieldInfo city_Code = new FieldInfo("lpm_ListPrice1", "City_Code");
        [Column]
        public string PH4 { get { return _PH4; } set { _PH4 = value; EntityState.FieldChange("PH4"); } } private string _PH4; public static FieldInfo pH4 = new FieldInfo("lpm_ListPrice1", "PH4");
        [Column]
        public string Tin_Size { get { return _Tin_Size; } set { _Tin_Size = value; EntityState.FieldChange("Tin_Size"); } } private string _Tin_Size; public static FieldInfo tin_Size = new FieldInfo("lpm_ListPrice1", "Tin_Size");
        [Column]
        public string LP_Status { get { return _LP_Status; } set { _LP_Status = value; EntityState.FieldChange("LP_Status"); } } private string _LP_Status; public static FieldInfo lP_Status = new FieldInfo("lpm_ListPrice1", "LP_Status");
        [Column]
        public string Description { get { return _Description; } set { _Description = value; EntityState.FieldChange("Description"); } } private string _Description; public static FieldInfo description = new FieldInfo("lpm_ListPrice1", "Description");
        [Column]
        public string Proc_Stat { get { return _Proc_Stat; } set { _Proc_Stat = value; EntityState.FieldChange("Proc_Stat"); } } private string _Proc_Stat; public static FieldInfo proc_Stat = new FieldInfo("lpm_ListPrice1", "Proc_Stat");
        [Column]
        public string Scale_Quantity { get { return _Scale_Quantity; } set { _Scale_Quantity = value; EntityState.FieldChange("Scale_Quantity"); } } private string _Scale_Quantity; public static FieldInfo scale_Quantity = new FieldInfo("lpm_ListPrice1", "Scale_Quantity");
        [Column]
        public string Amount { get { return _Amount; } set { _Amount = value; EntityState.FieldChange("Amount"); } } private string _Amount; public static FieldInfo amount = new FieldInfo("lpm_ListPrice1", "Amount");
        [Column]
        public string Unit { get { return _Unit; } set { _Unit = value; EntityState.FieldChange("Unit"); } } private string _Unit; public static FieldInfo unit = new FieldInfo("lpm_ListPrice1", "Unit");
        [Column]
        public string Per { get { return _Per; } set { _Per = value; EntityState.FieldChange("Per"); } } private string _Per; public static FieldInfo per = new FieldInfo("lpm_ListPrice1", "Per");
        [Column]
        public string Uom { get { return _Uom; } set { _Uom = value; EntityState.FieldChange("Uom"); } } private string _Uom; public static FieldInfo uom = new FieldInfo("lpm_ListPrice1", "Uom");
        [Column]
        public string Calculat_Type { get { return _Calculat_Type; } set { _Calculat_Type = value; EntityState.FieldChange("Calculat_Type"); } } private string _Calculat_Type; public static FieldInfo calculat_Type = new FieldInfo("lpm_ListPrice1", "Calculat_Type");
        [Column]
        public string ScaleBasis { get { return _ScaleBasis; } set { _ScaleBasis = value; EntityState.FieldChange("ScaleBasis"); } } private string _ScaleBasis; public static FieldInfo scaleBasis = new FieldInfo("lpm_ListPrice1", "ScaleBasis");
        [Column]
        public string Valid_From { get { return _Valid_From; } set { _Valid_From = value; EntityState.FieldChange("Valid_From"); } } private string _Valid_From; public static FieldInfo valid_From = new FieldInfo("lpm_ListPrice1", "Valid_From");
        [Column]
        public string Valid_To { get { return _Valid_To; } set { _Valid_To = value; EntityState.FieldChange("Valid_To"); } } private string _Valid_To; public static FieldInfo valid_To = new FieldInfo("lpm_ListPrice1", "Valid_To");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("lpm_ListPrice1", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("lpm_ListPrice1", "Status");

    }
}
